<div id="Edit" class="wrap">
    <div class="class-notice" style='width: 800px'>
        <form method="post" name="wikiForm" novalidate class="form-horizontal">
            <div class="form-group row">
                <label class="col-sm-2 col-md-3  control-label">请输入标题：</label>
                <div class="col-sm-10 col-md-5">
                    <input type="text" class="form-control" placeholder="标题" ng-model="form.wikiName" required ng-blur="CheckName()">
                    <span  class="help-block" >{{NameTip}}</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-md-3  control-label">请输入父级菜单：</label>
                <div class="col-sm-10 col-md-5">
                    <select class="form-control"  ng-options="x.id as x.wikiName for x in parentIdList" ng-model="form.parentId" ng-change="ParentIdChange(form.parentId)">
                        <!--<option value="" selected disabled hidden>级别</option>-->
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-md-3  control-label">请输入排序号：</label>
                <div class="col-sm-10 col-md-5">
                    <input type="number" class="form-control" placeholder="排序号" ng-model="form.wikiNo" required ng-minlength="1" ng-maxlength="5" maxlength="5">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-md-3 control-label">编辑内容：</label>
                <div class="col-sm-10 col-md-5">
                    <textarea cols="30" rows="6" keditor ng-model="form.remark" required></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-8 col-md-offset-2 col-md-8 text-center">
                    <button class="btn btn-success" ng-click="submit()" ng-disabled="wikiForm.$invalid">
                        <span class="glyphicon glyphicon-ok"></span> 提交保存
                    </button>
                    <button class="btn btn-warning" ui-sref="DeveloperMain.Wiki">
                        <span class="glyphicon glyphicon-chevron-left"></span> 取消返回
                    </button>
                </div>
            </div>
        </form>
    </div>
    <!--<div class="container">-->
        <!---->
    <!--</div>-->
</div>
